package com.mindainfo.groundwave.common.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by superbone on 2017/5/17.
 */
public class Tree<T> {
    private T data;
    private List<Tree<T>> children = new ArrayList<>();

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public List<Tree<T>> getChildren() {
        return children;
    }

    public void setChildren(List<Tree<T>> children) {
        this.children = children;
    }
}
